package com.test.entity;

import lombok.Data;

import javax.persistence.*;

@Entity
@Table(name = "table_user")
@Data
public class User {

    @Id
    private Integer user_id;
    private String user_name;
    private String user_acount;
    private String user_password;



    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_acount() {
        return user_acount;
    }

    public void setUser_acount(String user_acount) {
        this.user_acount = user_acount;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", user_acount='" + user_acount + '\'' +
                ", user_password='" + user_password + '\'' +
                '}';
    }
}
